package com.ki.rent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Community对象", description="")
public class Community implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总篇数")
    @TableId(value = "counts", type = IdType.AUTO)
    private Integer counts;

    @ApiModelProperty(value = "外键关联user")
    private Integer userId;

    @ApiModelProperty(value = "评论")
    private String comment;

    @ApiModelProperty(value = "喜欢数")
    private Integer like;


}
